home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
301-325
/
disk_325
/
keymacro
/
link.asm
< prev
next >
Wrap
Assembly Source File
|
1992-05-06
|
7KB
|
412 lines
INCLUDE 'exec/types.i'
INCLUDE 'exec/nodes.i'
INCLUDE 'exec/libraries.i'
LIBINIT
LIBDEF _LVOAllocRem
LIBDEF _LVOFreeRem
LIBDEF _LVOCreateFuncTask
LIBDEF _LVODeleteFuncTask
LIBDEF _LVOCreateFuncProc
LIBDEF _LVOMovePointer
LIBDEF _LVOWriteConsole
LIBDEF _LVODeletePrinterSupport
LIBDEF _LVOAllocPrinterSupport
LIBDEF _LVOStartPrinterDump
LIBDEF _LVOStopPrinterDump
LIBDEF _LVODeleteTimer
LIBDEF _LVOCreateTimer
LIBDEF _LVOWaitForTimer
LIBDEF _LVOTimeDelay
LIBDEF _LVOSetNewTime
LIBDEF _LVOGetSysTime
LIBDEF _LVOKeyConvert
LIBDEF _LVOInvertKey
LIBDEF _LVORefreshGadget
LIBDEF _LVOGetLongInt
LIBDEF _LVOSetLongInt
LIBDEF _LVOGetGadgetString
LIBDEF _LVOSetGadgetString
LIBDEF _LVOGetPropPosition
LIBDEF _LVOSetPropPosition
LIBDEF _LVOGetToggleGadget
LIBDEF _LVOSetToggleGadget
LIBDEF _LVOSetWaitPointer
LIBDEF _LVOPopRequest
LIBDEF _LVOPopMenu
LIBDEF _LVOCheckSum
LIBDEF _LVOCryptBlock
LIBDEF _LVOIsASCII
LIBDEF _LVOIsPrintable
LIBDEF _LVOToUpper
LIBDEF _LVOUStrCmp
LIBDEF _LVORandom
LIBDEF _LVOFadeTo
LIBDEF _LVOSetMode
LIBDEF _LVOJoy
LIBDEF _LVOFindFileWindow
LIBDEF _LVORemoveHiddenRPort
LIBDEF _LVOCreateHiddenRPort
LIBDEF _LVOEnableWindow
LIBDEF _LVODisableWindow
Store MACRO
MOVEM.L D2-D7/A2-A5,SafeKeep
ENDM
Load MACRO
MOVEM.L SafeKeep,D2-D7/A2-A5
ENDM
DSEG ; SECTION DATA
SafeKeep:
DCB.L 14
CSEG ; SECTION CODE
; --- xref from application
XREF _MXMBase
; --- xdef for application
XDEF _AllocRem
XDEF _FreeRem
XDEF _CreateFuncTask
XDEF _DeleteFuncTask
XDEF _CreateFuncProc
XDEF _MovePointer
XDEF _WriteConsole
XDEF _DeletePrinterSupport
XDEF _AllocPrinterSupport
XDEF _StartPrinterDump
XDEF _StopPrinterDump
XDEF _DeleteTimer
XDEF _CreateTimer
XDEF _WaitForTimer
XDEF _TimeDelay
XDEF _SetNewTime
XDEF _GetSysTime
XDEF _KeyConvert
XDEF _InvertKey
XDEF _RefreshGadget
XDEF _GetLongInt
XDEF _SetLongInt
XDEF _GetGadgetString
XDEF _SetGadgetString
XDEF _GetPropPosition
XDEF _SetPropPosition
XDEF _GetToggleGadget
XDEF _SetToggleGadget
XDEF _SetWaitPointer
XDEF _PopRequest
XDEF _PopMenu
XDEF _CheckSum
XDEF _CryptBlock
XDEF _IsASCII
XDEF _IsPrintable
XDEF _ToUpper
XDEF _UStrCmp
XDEF _Random
XDEF _FadeTo
XDEF _SetMode
XDEF _Joy
XDEF _FindFileWindow
XDEF _RemoveHiddenRPort
XDEF _CreateHiddenRPort
XDEF _EnableWindow
XDEF _DisableWindow
_AllocRem:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L _MXMBase,A6
JMP _LVOAllocRem(A6)
_FreeRem:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVOFreeRem(A6)
_CreateFuncTask:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L 12(SP),A0
MOVE.L 16(SP),A1
MOVE.L _MXMBase,A6
JMP _LVOCreateFuncTask(A6)
_DeleteFuncTask:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVODeleteFuncTask(A6)
_CreateFuncProc:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L 12(SP),A0
MOVE.L 16(SP),A1
MOVE.L _MXMBase,A6
JMP _LVOCreateFuncProc(A6)
_MovePointer:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L 12(SP),A0
MOVE.L 16(SP),A1
MOVE.L _MXMBase,A6
JMP _LVOMovePointer(A6)
_WriteConsole:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L _MXMBase,A6
JMP _LVOWriteConsole(A6)
_DeletePrinterSupport:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVODeletePrinterSupport(A6)
_AllocPrinterSupport:
Store
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L 12(SP),A0
MOVE.L 16(SP),A1
MOVE.L 20(SP),D2
MOVE.L 24(SP),D3
MOVE.L 28(SP),D4
MOVE.L _MXMBase,A6
JSR _LVOAllocPrinterSupport(A6)
Load
RTS
_StartPrinterDump:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L _MXMBase,A6
JMP _LVOStartPrinterDump(A6)
_StopPrinterDump:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L _MXMBase,A6
JMP _LVOStopPrinterDump(A6)
_DeleteTimer:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVODeleteTimer(A6)
_CreateTimer:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVOCreateTimer(A6)
_WaitForTimer:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L _MXMBase,A6
JMP _LVOWaitForTimer(A6)
_TimeDelay:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L _MXMBase,A6
JMP _LVOTimeDelay(A6)
_SetNewTime:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVOSetNewTime(A6)
_GetSysTime:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVOGetSysTime(A6)
_KeyConvert:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVOKeyConvert(A6)
_InvertKey:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L 12(SP),A0
MOVE.L 16(SP),A1
MOVE.L _MXMBase,A6
JMP _LVOInvertKey(A6)
_RefreshGadget:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L 12(SP),A0
MOVE.L _MXMBase,A6
JMP _LVORefreshGadget(A6)
_GetLongInt:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVOGetLongInt(A6)
_SetLongInt:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L _MXMBase,A6
JMP _LVOSetLongInt(A6)
_GetGadgetString:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVOGetGadgetString(A6)
_SetGadgetString:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L _MXMBase,A6
JMP _LVOSetGadgetString(A6)
_GetPropPosition:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L 12(SP),A0
MOVE.L _MXMBase,A6
JMP _LVOGetPropPosition(A6)
_SetPropPosition:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L 12(SP),A0
MOVE.L 16(SP),A1
MOVE.L _MXMBase,A6
JMP _LVOSetPropPosition(A6)
_GetToggleGadget:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVOGetToggleGadget(A6)
_SetToggleGadget:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L _MXMBase,A6
JMP _LVOSetToggleGadget(A6)
_SetWaitPointer:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVOSetWaitPointer(A6)
_PopRequest:
Store
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L 12(SP),A0
MOVE.L 16(SP),A1
MOVE.L 20(SP),D2
MOVE.L 24(SP),D3
MOVE.L 28(SP),D4
MOVE.L _MXMBase,A6
JSR _LVOPopRequest(A6)
Load
RTS
_PopMenu:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L _MXMBase,A6
JMP _LVOPopMenu(A6)
_CheckSum:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L _MXMBase,A6
JMP _LVOCheckSum(A6)
_CryptBlock:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L 12(SP),A0
MOVE.L _MXMBase,A6
JMP _LVOCryptBlock(A6)
_IsASCII:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVOIsASCII(A6)
_IsPrintable:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVOIsPrintable(A6)
_ToUpper:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVOToUpper(A6)
_UStrCmp:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L _MXMBase,A6
JMP _LVOUStrCmp(A6)
_Random:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVORandom(A6)
_FadeTo:
Store
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L 12(SP),A0
MOVE.L 16(SP),A1
MOVE.L 20(SP),D2
MOVE.L _MXMBase,A6
JSR _LVOFadeTo(A6)
Load
RTS
_SetMode:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVOSetMode(A6)
_Joy:
MOVE.L _MXMBase,A6
JMP _LVOJoy(A6)
_FindFileWindow:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVOFindFileWindow(A6)
_RemoveHiddenRPort:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVORemoveHiddenRPort(A6)
_CreateHiddenRPort:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L 12(SP),A0
MOVE.L _MXMBase,A6
JMP _LVOCreateHiddenRPort(A6)
_EnableWindow:
MOVE.L 4(SP),D0
MOVE.L _MXMBase,A6
JMP _LVOEnableWindow(A6)
_DisableWindow:
MOVE.L 4(SP),D0
MOVE.L 8(SP),D1
MOVE.L _MXMBase,A6
JMP _LVODisableWindow(A6)
END